package com.se2.antiqueexhibition.Mapper;

import com.se2.antiqueexhibition.pojo.AdminNews;
import com.se2.antiqueexhibition.pojo.AdminReservation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminReservationMapper {
    void insert(AdminReservation adminReservation);
    void update(AdminReservation adminReservation);
    void delete(int id);
    AdminReservation getAdminReservationById(int id);
    List<AdminReservation> getAdminReservationByStatus(int status);
    void updateStatus(int id, int status);


    List<AdminReservation> selectAll();
}
